Fix 'srecode-all-template-hash' always returning nil
authorCharalampos Mitrodimas <charmitro@posteo.net>
Sat, 4 May 2024 19:45:15 +0000 (22:45 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 9 May 2024 08:28:38 +0000 (11:28 +0300)
commite0ca21f9fb82fb27bb6a55a3c07b2ad1492f7680
tree58c1fcc1da09ea9843234bf144484a8bca5edb67
parent751e21af42e905d0448baa7be4a7ae6d6ae6734a
Fix 'srecode-all-template-hash' always returning nil

The issue was that the function always returned nil because
the closing parentheses were in the wrong position.  This
meant that the function couldn't give back the data it was
supposed to, making the whole srecode system not work
properly.
By moving the parentheses to the correct place, the function
now returns a hash table with all the templates it finds.
* lisp/cedet/srecode/find.el (srecode-all-template-hash):
Adjusted the position of closing parentheses so that the mhash
variable is returned correctly.  (Bug#70765)

Copyright-paperwork-exempt: yes
lisp/cedet/srecode/find.el